package com.fenghongzhang.day012;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

public class MyReceiver1 extends BroadcastReceiver {

    private static final String TAG = "MyReceiver1";
    @Override
    public void onReceive(Context context, Intent intent) {

        Log.i(TAG, "onReceive: ");

//        Bundle extras = intent.getExtras();
//        String name = extras.getString("name");
//        Log.i(TAG, "onReceive: "+name);
    }
}
